package com;

import java.io.FileOutputStream;
import java.io.IOException;

public class Test01 {
    public static void main(String[] args) throws IOException {

        String path = "HomeWork15\\dir\\aa.txt";
        FileOutputStream fos = new FileOutputStream(path);
        fos.write("hello".getBytes());
        fos.close();
    }
}
